  	
 <?php include('session.php'); ?>
<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>

<?php
include('../Model/ModelConexion.php');
//$cliente=$_POST['cliente'];
$grado=$_GET['grado'];

$conexion = new Conexion();

$consulta_carrera = $conexion->Consulta("
SELECT codigo,nombre FROM pcdatos 
WHERE codigoGrado='$grado'
");
echo "<br>";
echo "<table border=2 style='width: 300px;' class='table table-striped'>";
echo "<thead>";
echo "<tr>";
echo "<th>Codigo</th>";
echo "<th>Nombre</th>";
echo"</tr>";
echo "</thead>";
echo"<tbody>";
while($fila=$conexion->Arreglo($consulta_carrera))
{


    echo "<tr>";
    echo"<td >".$fila['codigo']."</td>";
    echo"<td >".$fila['nombre']."</td>";
    
    echo "</tr>";
   
}
?>
 </body>
  <?php include("footer.php");?> 
</html>